<template>
  <div class="home-bg">
    <el-card class="home-card">
      <h2>校园活动管理系统</h2>
      <p>欢迎使用！请通过上方导航访问各功能。</p>
    </el-card>
  </div>
</template>

<style scoped>
.home-bg {
  height: 100vh;
  width: 100vw;
  min-height: 100vh;
  min-width: 100vw;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding-top: 10vh;
  /* 无背景色、无背景图片 */
}
.home-card {
  width: 100%;
  max-width: 500px;
  max-height: 100vh;
  text-align: center;
  box-shadow: 0 2px 12px #0000001a;
  background: rgba(255,255,255,0.95);
  /* 移除 margin，防止超出屏幕 */
}
</style> 